package com.lvmama.pangolin.qnr.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.lvmama.pangolin.entity.ProductConditionVO;
import com.lvmama.pangolin.entity.qnr.QNRTicketProduct;
import com.lvmama.pangolin.entity.xc.XCTicketProduct;


public interface QNRTicketProductService
{
	int deleteByPrimaryKey(String id);

	int deleteByByProdId(String product_id);

	int insert(QNRTicketProduct record);

	int insertSelective(QNRTicketProduct record);

	QNRTicketProduct selectByPrimaryKey(String id);

	QNRTicketProduct selectByProdId(String productId);

	int updateByPrimaryKeySelective(QNRTicketProduct record);
	
	int updateByProdIdSelective(QNRTicketProduct record);

	int updateByPrimaryKey(QNRTicketProduct record);
	
	PageInfo<QNRTicketProduct> getAllList(ProductConditionVO sc);
	
	List<QNRTicketProduct> selectByName(String name);
	List<QNRTicketProduct> selectAll();

	List<QNRTicketProduct> selectByUrl(String url);
	
	public void updateByProdId(String productId);
	
	public void deleteLinkByProdId(String productId);
	
}
